﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.Master" AutoEventWireup="true" CodeBehind="guang.aspx.cs" Inherits="guanggun.guanggun.guang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
       
        .style1
        {
        width: 200px;
        float: left;
        height: 100px;
        margin-left: 20px;
    }
        .img
        {
            float: left;
        }
        .button
        {
        width: auto;
        height: auto;
        float: right;
        margin-right: 50px;
    }
        .other
        {
            margin: 10px;
            width: 100px;
            height: 160px;
            overflow: hidden;
        }
        .fasong
        {
            margin-top: 5px;
            overflow: hidden;
            margin-bottom: 5px;
        }
        .more
        {
        height: 350px;
        width: auto;
        overflow: auto;
    }
        .style2
        {
            width: 100%;
        }
        .style3
        {
            width: 234px;
        }
      .tweet
      {
          float: left;
          margin-top: 10px;
          margin-left: 10px;
      }
      </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <asp:Image ID="head" runat="server" Height="100px"  Width="100px" CssClass="img" />
        <table align="left" class="style1">
            <tr>
                <td>
                    姓名：<asp:Label ID="Lname" runat="server" Text="Label" 
                        Font-Bold="True"></asp:Label></td>
            </tr>
            <tr>
                <td>
                   年龄：<asp:Label ID="Lage" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    性别：<asp:Label ID="Lsex" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td>
                    城市：<asp:Label ID="Lcity" runat="server" Text="Label"></asp:Label></td>
            </tr>
            <tr>
                <td>
                   广播：<asp:Label ID="Ltweetnum" runat="server" Text="Label"></asp:Label></td>
            </tr>
        </table>
        <div class="button">
            <asp:ImageButton ID="ImageButton1" runat="server" Height="85px" 
                onclick="ImageButton1_Click" Width="202px" ImageUrl="~/img/button1.jpg" />
                

            <div >
                <asp:CheckBox ID="CheckBox1" runat="server" Text="关注" Font-Bold="True" 
                Font-Size="13px" Checked="True" oncheckedchanged="CheckBox1_CheckedChanged" />
                <asp:HyperLink
                    ID="Hme" runat="server" Target="_blank">-</asp:HyperLink>
                <div class="tweet"><asp:HyperLink ID="HTweet" runat="server" Target="_blank" 
                        Font-Bold="True" Font-Size="14pt">查看我的微博&gt;&gt;</asp:HyperLink></div>
            
            </div>
        </div>
        
        <div style="height:20px; clear:both;"></div>

        <div>
            <table cellpadding="5" cellspacing="5" class="style2">
                <tr>
                    <td class="style3">
                        广告位出租联系（xf360@qq.com）</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style3">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
            </div>
            <div style="height:20px;"></div>
            <div class="more">
            <center><h4>推荐越多人品越好哦！</h4></center>
            <asp:DataList ID="DataList1" runat="server" RepeatColumns="5" 
                DataKeyField="name" onitemcommand="DataList1_ItemCommand">
                <ItemTemplate>
                    <div class="other">
                        <asp:Image ID="Image1" runat="server" Height="100px" 
        Width="100px" ImageUrl='<%# Eval("head")%>' />
                        <div style="height:5px;">
                        </div>
                        <center>
                           <div class="fasong"> <asp:Label ID="Label1" runat="server" Font-Bold="True" 
            Font-Size="15px" Text='<%# Eval("nick") %>'></asp:Label> </div>
                            <div class="fasong">
                                <asp:Button ID="Button2" runat="server" Text="推荐给Ta" 
                                    CommandArgument='<%# Eval("name")%>' CommandName="send" />
                            </div>
                        </center>
                    </div>
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</asp:Content>
